<template>
  <CellGroup inset class="mb-10 help-tab">
    <span
      @click="handleClick('TransactionStep')">交易步骤</span>
    <span
      @click="handleClick('FaQuestion')">常见问题</span>
  </CellGroup>
</template>

<script setup lang="ts">
import { CellGroup } from 'vant';
import { useRouter } from 'vue-router';

const router = useRouter();

const handleClick = (name: string) => {
  router.replace({ name });
};
</script>
<style lang="less" scoped>
.help-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;

  span {
    margin: 20px 10px;
    cursor: pointer;
    font-size: 13px;
    color: #666
  }
}
</style>
